/*
 * Globals
 */
html {
    height: 100%
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    color: #555;
    height: 100%;
    display: flex;
    flex-direction: column;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin-top: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    color: #333;
}

a {
    color: #333;
    text-decoration: none !important
}

a:hover {
    color: #777
}

img {
    width: 100%;
}

img.media-object {
    width: 100px;
    height: 64px;
    border-radius: 3px;
}

section {
    padding-top: 50px;
    padding-bottom: 10px;
}

blockquote {
    margin: 0 0 20px;
    font-size: 14px;
    border-left: 5px solid #fff200;
}

.gradual-bg {
    color: #fff !important;
    background: linear-gradient(to right, #eb8614, #fff200) !important;
    border: none !important;
    background-size: 200% !important;
    background-position: right 0 !important;
    transition: background-position 300ms ease-in !important;
}

.gradual-bg:hover {
    background-position: 0 0 !important;
}

.shadow{
    -webkit-box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.1);
}

textarea {
    resize: vertical;
}

@media (min-width: 1200px) {
    .container {
        width: 970px;
    }
}

.blog-masthead {
    z-index: 999999;
    flex: 0 0 auto;
    -webkit-box-shadow: 0 0.125rem 0.8rem rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.125rem 0.8rem rgba(0, 0, 0, 0.1)
}

.blog-masthead .navbar.navbar-default {
    background-color: #fff;
    border: none;
    margin-bottom: 0;
}

/* Nav links */
.blog-nav-item {
    position: relative !important;
    display: inline-block !important;
    padding: 14px 10px !important;
    margin-left: 20px;
    font-weight: 600 !important;
}

.blog-nav-item:hover,
.blog-nav-item:focus {
    border-bottom: 2px solid #fff200;
}

.navbar-header > .navbar-brand.active,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
    background-color: transparent;
    border-bottom: 2px solid #fff200;
}

.navbar-nav > li > .blog-nav-img {
    padding: 0;
}

.navbar-nav .blog-nav-img .picture {
    margin: 5px auto;
    width: 40px;
    height: 40px;
}

/*
 * Main column and sidebar layout
 */

.blog-main, .timeTravel {
    flex: 1 0 auto;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color:#ffffff;
}

/*
 * Blog posts
 */

.blog-post .blog-content {
    padding: 15px 20px;
    background-color: #ffff;
    border: 1px solid #ebebeb;
    margin-bottom: 10px;
}

.blog-content .article_title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.blog-content .media-body p {
    margin-bottom: 5px;
}

.blog-post .media-item span,
.blog-post .caption span {
    font-size: 12px;
    color: #b2bac2;
    margin-right: 20px;
}

/* Sidebar modules for boxing content */
.sidebar-module {
    margin: 0 -15px 15px;
    background-color: #ffff;
}

.sidebar-module .sidebar_head_title {
    padding: 10px;
    margin-bottom: 3px;
    border-bottom: 1px solid hsla(0, 0%, 59.2%, .1);
}

.sidebar-module .follow-block {
    display: flex;
    position: relative;
    margin-bottom: 1rem;
}

.follow-block .follow-item {
    flex: 1 1 auto;
    padding: 1.333rem 0;
    text-align: center;
}

.follow-block .follow-item:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 50%;
    background-color: #f3f3f4;
    transform: translate(-50%, -50%);
}

.list-unstyled {
    padding: 10px;
}

.list-unstyled .strip {
    display: inline-block;
    width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-unstyled .label-item li {
    display: inline-block;
    height: 27px;
    font-size: 14px;
    padding: 0 1rem;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    margin-bottom: 5px;
    margin-left: 2px;
}

.list-unstyled .label-item li:hover {
    border: 1px solid #fff200;
}

.list-latest li {
    margin-top: 5px;
    margin-bottom: 5px;
}

.list-latest .list-latest-item {
    float: right;
    font-size: 12px;
    color: #777;
    line-height: 20px;
}


/*********************
******* 文章页面 ******
**********************/
.article .left-nav {
    position: fixed;
    margin-left: -10rem;
    top: 25rem;
}

.left-nav .nav-item {
    display: table;
    position: relative;
    padding: 15px;
    margin-bottom: .75rem;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0.125rem 0.8rem rgba(0, 0, 0, 0.1);
    color: #9d9d9d;
}

.left-nav .nav-item.active,
.left-nav .nav-item:hover {
    color: #fff200;
}

.left-nav .nav-item:after {
    content: attr(badge);
    position: absolute;
    top: 0;
    left: 75%;
    padding: .1rem .4rem;
    font-size: 1rem;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    color: #fff;
    background-color: #9d9d9d;
    border-radius: .7rem;
    transform-origin: left top;
    transform: scale(.75);
}

.blog-post .article-content {
    margin-top: 40px;
}

.blog-post .article-content a {
    color: #337ab7 !important;
    text-decoration: underline !important;
}

/*
 * Footer
 */
.blog-footer {
    padding: 40px 0;
    color: #ffff;
    text-align: center;
    background-color: #fff200;
    border-top: 1px solid #e5e5e5;
    font-weight: 600;
    flex: 0 0 auto;
}

/*********************
******* 登录注册 ******
**********************/
.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 100px auto;
}


.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control-feedback {
    top: 30px !important;
}

.form-signin .btn-block {
    margin-top: 20px;
}

#msgAlert {
    position: fixed;
    top: 50px;
    right: 0;
}


.sorts-item input,
.label-item input {
    display: none
}

.sorts-item label,
.label-item label {
    border: 1px solid #CCC;
    color: #666;
    padding: 2px 10px 2px 5px;
    line-height: 28px;
    min-width: 80px;
    text-align: center;
    float: left;
    margin: 2px;
    border-radius: 4px
}


.sorts-item input:checked + label,
.label-item input:checked + label,
.sorts-item input + label:hover,
.label-item input + label:hover {
    border: 1px solid #fff200;
    background-size: 21px 21px;
}

.sorts-item input:disabled + label,
.label-item input:disabled + label {
    opacity: 0.7;
}

.segmentation {
    text-align: center;
    position: relative;
    color: #9d9d9d;
    font-size: 12px;
}

.segmentation::before {
    content: '';
    width: 45%;
    height: 1px;
    background: #eeeeee;
    position: absolute;
    left: 0;
    top: 50%;
}

.segmentation::after {
    content: '';
    width: 45%;
    height: 1px;
    background: #eeeeee;
    position: absolute;
    right: 0;
    top: 50%;
}

#info-show img {
    width: auto;
}

.issue .input-group-btn .btn {
    line-height: 32px !important;
    border: 1px solid transparent !important;
}

.dropdown-menu .tag-list .item {
    display: inline-block;
    margin: 0 .6rem .8rem 0;
    padding: .4rem .7rem;
    white-space: nowrap;
    border: 1px solid #f1f1f1;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-menu .tag-list .item.active,
.dropdown-menu .tag-list .item:hover {
    border: 1px solid #fff200;
}


.caption h3 a {
    height: 53px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}